package com.xr.system;

import com.xr.common.annotation.EnableXrSaTokenCloudLog;
import com.xr.mail.annotation.EnableMailService;
import com.xr.qiniuyun.annotation.EnableQiniuyunFileService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableXrSaTokenCloudLog
@EnableMailService
@EnableQiniuyunFileService
@EnableScheduling
@EnableAsync
@EnableDiscoveryClient
@MapperScan("com.xr.system.mapper")
@SpringBootApplication
public class SaTokenCloudSystem {

	public static void main(String[] args) {
		SpringApplication.run(SaTokenCloudSystem.class, args);
		System.out.println("在线接口文档地址：http://127.0.0.1:40000/doc.html");
	}

}
